package com.hd.openapi.dao;

import com.hd.openapi.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> getbymenuid(@Param ("id")Integer id);

    List<Menu> getmenualldata();

    int deleteda(Integer[] ids);
}